
<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
    include 'PHPClasses/DBAccess.php';
    include 'PHPClasses/Subject.php';
    include 'PHPClasses/SubjectDBAccess.php';
    error_reporting(E_ERROR | E_PARSE);
    $DBAccess=new SubjectDBAccess();
    
    
    

    
    $DBAccess->delete($_POST['subjectID']);
    
    
 
   
   
    
   $DBAccess->DBDisconnect();
   
   
    header("Location: http://localhost/paragox-infinity-introse/viewSubjects.php");
?>
                         
                    